POV-Ray : Newsgroups : povray.general : Math r dumb-Ken r toopid : Re: Math r dumb-Ken r toopid Server Time
12 Aug 2024 11:25:08 EDT (-0400)
  Re: Math r dumb-Ken r toopid  
From: Ken
Date: 19 Feb 1999 18:05:25
Message: <36CDEDD1.399182D7@pacbell.net>
PoD wrote:
> 
> Hi Ken,
> Not sure I understand your problem.
> Do you mean something like
> 
> #declare NextX = 0;
> #while( NextX < 20 )
>   #delare Scale = 1+rand(Seed);
>   box{0,1 scale Scale}
>   translate <NextX,0,0>
>   #declare NextX = NextX + Scale
> #end
> 
> PoD.

I thought it might be accomplished in a way similar to this but never
would have thought to increment the counter with the scale value.
I will check it out and see what happens.

 Thank you !

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.